﻿<!DOCTYPE html>
<html lang="zh-cn">
<head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>@ViewData["Title"] - CoreRp</title>
    <link href="~/lib/element-ui/theme-chalk/index.min.css" rel="stylesheet" />
    <link rel="stylesheet" href="~/css/site.css" />
    <script>
        window.basepath = '@(Services.S_Config.BasePath)';

    </script>
</head>
<body style="padding:15px">
    @RenderBody()
    <script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
    <script src="~/lib/axios/axios.min.js"></script>
    <script>
        const ax = axios.create({
            baseURL: window.location.origin + window.basepath,
            timeout: 1000,
            //headers: { 'X-Custom-Header': 'foobar' }
        });
    </script>
    <script src="~/lib/element-ui/index.min.js"></script>
    <script src="~/lib/element-ui/locale/zh-CN.min.js"></script>
    @await RenderSectionAsync("Scripts", required: false)
</body>
</html>
